package com.myblog.service;

import com.myblog.utils.DataMap;

public interface CommentService {
    DataMap getNewCommment(Integer rows, Integer pageNum);

    DataMap getUserCommment(Integer rows, Integer pageNum, Integer userId);

    DataMap getCommentByArticleId(long articleId,String userName);

    DataMap publishCommentMessage(String commentContent, long articleId, int answerId);

    DataMap setAllCommentIsRead(Integer respondentId);

    DataMap ReplyComment(String commentContent, long articleId, int answerId, String pIdString, String respondentName);
}
